package cn.kgc.crowdfundingadmin.mapper;

import cn.kgc.crowdfundingadmin.pojo.dvertisement;
import cn.kgc.crowdfundingadmin.pojo.dvertisementExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface dvertisementMapper {
    int countByExample(dvertisementExample example);

    int deleteByExample(dvertisementExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(dvertisement record);

    int insertSelective(dvertisement record);

    List<dvertisement> selectByExample(dvertisementExample example);

    dvertisement selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") dvertisement record, @Param("example") dvertisementExample example);

    int updateByExample(@Param("record") dvertisement record, @Param("example") dvertisementExample example);

    int updateByPrimaryKeySelective(dvertisement record);

    int updateByPrimaryKey(dvertisement record);
}